package com.xyht.sca_s.student_manage_system.modules.meeting.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.meeting.entity.SmsMeetingRoomPredetermineApply;
import com.xyht.sca_s.student_manage_system.modules.meeting.entity.req.SmsPredetermineApplyAllowReq;
import com.xyht.sca_s.student_manage_system.modules.meeting.entity.req.SmsPredetermineApplyReq;

/**
 * <p>
 * 会议室预定申请表 服务类
 * </p>
 *
 * @author XYHT
 * @since 2023-08-03
 */
public interface SmsMeetingRoomPredetermineApplyService extends IService<SmsMeetingRoomPredetermineApply> {

    ResponseResult submitPredetermineApply(SmsPredetermineApplyReq req, String userId);

    ResponseResult cancelPredetermineApply(SmsPredetermineApplyReq cancelReq, String userId);

    ResponseResult getPredetermineApplyList(String userId, Integer applyType, Integer pageNum, Integer pageSize);

    ResponseResult getPredetermineApplyDetail(String applyId, String userId);

    ResponseResult allowPredetermineApply(SmsPredetermineApplyAllowReq allowReq, String userId);

    ResponseResult listMeetingRoomByTime(String date, String buildingId, Integer capacity, String searStr);

    ResponseResult listMeetingRoomByTimeDetail(String date, String id);
}
